package lab02.test10;

public class ChinaPeople extends People {
    //属性


    public void run() {
        System.out.println("跑步！");
    }

    public void work() {
        System.out.println("工作！");
    }

    public void eat() {
        System.out.println("吃饭！");
    }

    public void sleep() {
        System.out.println("睡觉！");
    }

    @Override
    public String toString() {
        return name + "\t" + gender + "\t" + age;
    }


}
